/**  
 * All rights Reserved, Designed By www.flksh.com
 * @date:   2017-10-27 15:27:26   
 * @Copyright: 2013-2017 www.flksh.com Inc. All rights reserved. 
 * 注意：本内容仅限于上海福乐康社区养老服务有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.zx.cloud.domain;

import java.time.OffsetDateTime;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zx.cloud.model.BasicDomain;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * sys_sms_msg-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class SmsMsg extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID")
	 private Long userId;
	/**
	 * 验证手机号
	 */
	@ApiModelProperty(value = "验证手机号")
	 private String phone;
	/**
	 * 验证码
	 */
	@ApiModelProperty(value = "验证码")
	 private String code;
	/**
	 * 记录生产时间
	 */
	@ApiModelProperty(value = "记录生产时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime createDate;
	/**
	 * 验证码过期时间
	 */
	@ApiModelProperty(value = "验证码过期时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime overDate;
	/**
	 * 验证码类型: 0:登陆 1:注册 2:忘记密码 3:营销
	 */
	@ApiModelProperty(value = "验证码类型: 0:登陆 1:注册 2:忘记密码 3:营销")
	 private Integer smsType;
	/**
	 * 0:正常,1:删除,
	 */
	@ApiModelProperty(value = "0:正常,1:删除,")
	 private Integer status;
	/**
	 * 短信记录简要描述
	 */
	@ApiModelProperty(value = "短信记录简要描述")
	 private String remark;
    
    public SmsMsg(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getCode() {
        return this.code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    public OffsetDateTime getCreateDate() {
        return this.createDate;
    }
    
    public void setCreateDate(OffsetDateTime createDate) {
        this.createDate = createDate;
    }
    public OffsetDateTime getOverDate() {
        return this.overDate;
    }
    
    public void setOverDate(OffsetDateTime overDate) {
        this.overDate = overDate;
    }
    public Integer getSmsType() {
        return this.smsType;
    }
    
    public void setSmsType(Integer smsType) {
        this.smsType = smsType;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
}
